package cn.aj.org.domain;

import cn.aj.system.domain.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Long id;
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 0;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;

    // 部门
    private Department department;
    // 店铺
    private Shop shop;

    // 添加角色
    private List<Long> roles;





}
